package com.szrt.department.service;

import java.util.List;

import com.szrt.department.entity.DepartmentEntity;

public interface DepartmentService {
	
	int add(DepartmentEntity entity);
	
	/**
	 * 晚上自己实现
	 * @param departmentCode
	 * @return
	 */
	int delete(Integer departmentCode);

	/**
	 * 查询所有的部门
	 * @return
	 */
	List<DepartmentEntity> findAll();

}
